'RequestNotify PROMPT "Use only from the message window!"'
Exit
End
'requestresponse TITLE "Spot Chef V2.2 - (c)1995 Ian Forest (2:250/188.100)" PROMPT "Please choose a language (default is CHEF)" GADGETS "_Chef|_Jive|_ValSpeak|_Kraut|_Cancel" CENTER'
select
when RC=0 then exit
when RC=1 then LANG="C:Chef"
when RC=2 then LANG="C:Jive"
when RC=3 then LANG="C:ValSpeak"
when RC=4 then LANG="C:Kraut"
otherwise
end
'GetSubject'
SUBJECT=Result
'GetTo'
TO=Result
'GetFrom'
FROM=Result
'SaveAscii TO "'TEMPDIR'SpotChef.temp" OVERWRITE NOHEADER NOTEARLINE NOORIGIN NOKLUDGES'
If ~Open('Inp',TEMPDIR'SpotChef.temp','r') Then Do
'RequestNotify PROMPT "Cannot open temporary file:'TEMPDIR'SpotChef.temp"'
'requestresponse TITLE "Spot Chef V2.2 - (c)1995 Ian Forest (2:250/188.100)" PROMPT "Keep current message nuke it?" GADGETS "_Keep|_Nuke!|_Cancel" CENTER'